package com.bristua.user.model.condition;

import java.util.ArrayList;
import java.util.List;

public class TUserBankExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TUserBankExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUserBankIdIsNull() {
            addCriterion("user_bank_id is null");
            return (Criteria) this;
        }

        public Criteria andUserBankIdIsNotNull() {
            addCriterion("user_bank_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserBankIdEqualTo(String value) {
            addCriterion("user_bank_id =", value, "userBankId");
            return (Criteria) this;
        }

        public Criteria andUserBankIdNotEqualTo(String value) {
            addCriterion("user_bank_id <>", value, "userBankId");
            return (Criteria) this;
        }

        public Criteria andUserBankIdGreaterThan(String value) {
            addCriterion("user_bank_id >", value, "userBankId");
            return (Criteria) this;
        }

        public Criteria andUserBankIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_bank_id >=", value, "userBankId");
            return (Criteria) this;
        }

        public Criteria andUserBankIdLessThan(String value) {
            addCriterion("user_bank_id <", value, "userBankId");
            return (Criteria) this;
        }

        public Criteria andUserBankIdLessThanOrEqualTo(String value) {
            addCriterion("user_bank_id <=", value, "userBankId");
            return (Criteria) this;
        }

        public Criteria andUserBankIdLike(String value) {
            addCriterion("user_bank_id like", value, "userBankId");
            return (Criteria) this;
        }

        public Criteria andUserBankIdNotLike(String value) {
            addCriterion("user_bank_id not like", value, "userBankId");
            return (Criteria) this;
        }

        public Criteria andUserBankIdIn(List<String> values) {
            addCriterion("user_bank_id in", values, "userBankId");
            return (Criteria) this;
        }

        public Criteria andUserBankIdNotIn(List<String> values) {
            addCriterion("user_bank_id not in", values, "userBankId");
            return (Criteria) this;
        }

        public Criteria andUserBankIdBetween(String value1, String value2) {
            addCriterion("user_bank_id between", value1, value2, "userBankId");
            return (Criteria) this;
        }

        public Criteria andUserBankIdNotBetween(String value1, String value2) {
            addCriterion("user_bank_id not between", value1, value2, "userBankId");
            return (Criteria) this;
        }

        public Criteria andBankRealNameIsNull() {
            addCriterion("bank_real_name is null");
            return (Criteria) this;
        }

        public Criteria andBankRealNameIsNotNull() {
            addCriterion("bank_real_name is not null");
            return (Criteria) this;
        }

        public Criteria andBankRealNameEqualTo(String value) {
            addCriterion("bank_real_name =", value, "bankRealName");
            return (Criteria) this;
        }

        public Criteria andBankRealNameNotEqualTo(String value) {
            addCriterion("bank_real_name <>", value, "bankRealName");
            return (Criteria) this;
        }

        public Criteria andBankRealNameGreaterThan(String value) {
            addCriterion("bank_real_name >", value, "bankRealName");
            return (Criteria) this;
        }

        public Criteria andBankRealNameGreaterThanOrEqualTo(String value) {
            addCriterion("bank_real_name >=", value, "bankRealName");
            return (Criteria) this;
        }

        public Criteria andBankRealNameLessThan(String value) {
            addCriterion("bank_real_name <", value, "bankRealName");
            return (Criteria) this;
        }

        public Criteria andBankRealNameLessThanOrEqualTo(String value) {
            addCriterion("bank_real_name <=", value, "bankRealName");
            return (Criteria) this;
        }

        public Criteria andBankRealNameLike(String value) {
            addCriterion("bank_real_name like", value, "bankRealName");
            return (Criteria) this;
        }

        public Criteria andBankRealNameNotLike(String value) {
            addCriterion("bank_real_name not like", value, "bankRealName");
            return (Criteria) this;
        }

        public Criteria andBankRealNameIn(List<String> values) {
            addCriterion("bank_real_name in", values, "bankRealName");
            return (Criteria) this;
        }

        public Criteria andBankRealNameNotIn(List<String> values) {
            addCriterion("bank_real_name not in", values, "bankRealName");
            return (Criteria) this;
        }

        public Criteria andBankRealNameBetween(String value1, String value2) {
            addCriterion("bank_real_name between", value1, value2, "bankRealName");
            return (Criteria) this;
        }

        public Criteria andBankRealNameNotBetween(String value1, String value2) {
            addCriterion("bank_real_name not between", value1, value2, "bankRealName");
            return (Criteria) this;
        }

        public Criteria andBankNoIsNull() {
            addCriterion("bank_no is null");
            return (Criteria) this;
        }

        public Criteria andBankNoIsNotNull() {
            addCriterion("bank_no is not null");
            return (Criteria) this;
        }

        public Criteria andBankNoEqualTo(String value) {
            addCriterion("bank_no =", value, "bankNo");
            return (Criteria) this;
        }

        public Criteria andBankNoNotEqualTo(String value) {
            addCriterion("bank_no <>", value, "bankNo");
            return (Criteria) this;
        }

        public Criteria andBankNoGreaterThan(String value) {
            addCriterion("bank_no >", value, "bankNo");
            return (Criteria) this;
        }

        public Criteria andBankNoGreaterThanOrEqualTo(String value) {
            addCriterion("bank_no >=", value, "bankNo");
            return (Criteria) this;
        }

        public Criteria andBankNoLessThan(String value) {
            addCriterion("bank_no <", value, "bankNo");
            return (Criteria) this;
        }

        public Criteria andBankNoLessThanOrEqualTo(String value) {
            addCriterion("bank_no <=", value, "bankNo");
            return (Criteria) this;
        }

        public Criteria andBankNoLike(String value) {
            addCriterion("bank_no like", value, "bankNo");
            return (Criteria) this;
        }

        public Criteria andBankNoNotLike(String value) {
            addCriterion("bank_no not like", value, "bankNo");
            return (Criteria) this;
        }

        public Criteria andBankNoIn(List<String> values) {
            addCriterion("bank_no in", values, "bankNo");
            return (Criteria) this;
        }

        public Criteria andBankNoNotIn(List<String> values) {
            addCriterion("bank_no not in", values, "bankNo");
            return (Criteria) this;
        }

        public Criteria andBankNoBetween(String value1, String value2) {
            addCriterion("bank_no between", value1, value2, "bankNo");
            return (Criteria) this;
        }

        public Criteria andBankNoNotBetween(String value1, String value2) {
            addCriterion("bank_no not between", value1, value2, "bankNo");
            return (Criteria) this;
        }

        public Criteria andBankNameIsNull() {
            addCriterion("bank_name is null");
            return (Criteria) this;
        }

        public Criteria andBankNameIsNotNull() {
            addCriterion("bank_name is not null");
            return (Criteria) this;
        }

        public Criteria andBankNameEqualTo(String value) {
            addCriterion("bank_name =", value, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameNotEqualTo(String value) {
            addCriterion("bank_name <>", value, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameGreaterThan(String value) {
            addCriterion("bank_name >", value, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameGreaterThanOrEqualTo(String value) {
            addCriterion("bank_name >=", value, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameLessThan(String value) {
            addCriterion("bank_name <", value, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameLessThanOrEqualTo(String value) {
            addCriterion("bank_name <=", value, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameLike(String value) {
            addCriterion("bank_name like", value, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameNotLike(String value) {
            addCriterion("bank_name not like", value, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameIn(List<String> values) {
            addCriterion("bank_name in", values, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameNotIn(List<String> values) {
            addCriterion("bank_name not in", values, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameBetween(String value1, String value2) {
            addCriterion("bank_name between", value1, value2, "bankName");
            return (Criteria) this;
        }

        public Criteria andBankNameNotBetween(String value1, String value2) {
            addCriterion("bank_name not between", value1, value2, "bankName");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(String value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(String value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(String value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(String value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(String value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(String value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLike(String value) {
            addCriterion("create_time like", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotLike(String value) {
            addCriterion("create_time not like", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<String> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<String> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(String value1, String value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(String value1, String value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andBankImgUrlIsNull() {
            addCriterion("bank_img_url is null");
            return (Criteria) this;
        }

        public Criteria andBankImgUrlIsNotNull() {
            addCriterion("bank_img_url is not null");
            return (Criteria) this;
        }

        public Criteria andBankImgUrlEqualTo(String value) {
            addCriterion("bank_img_url =", value, "bankImgUrl");
            return (Criteria) this;
        }

        public Criteria andBankImgUrlNotEqualTo(String value) {
            addCriterion("bank_img_url <>", value, "bankImgUrl");
            return (Criteria) this;
        }

        public Criteria andBankImgUrlGreaterThan(String value) {
            addCriterion("bank_img_url >", value, "bankImgUrl");
            return (Criteria) this;
        }

        public Criteria andBankImgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("bank_img_url >=", value, "bankImgUrl");
            return (Criteria) this;
        }

        public Criteria andBankImgUrlLessThan(String value) {
            addCriterion("bank_img_url <", value, "bankImgUrl");
            return (Criteria) this;
        }

        public Criteria andBankImgUrlLessThanOrEqualTo(String value) {
            addCriterion("bank_img_url <=", value, "bankImgUrl");
            return (Criteria) this;
        }

        public Criteria andBankImgUrlLike(String value) {
            addCriterion("bank_img_url like", value, "bankImgUrl");
            return (Criteria) this;
        }

        public Criteria andBankImgUrlNotLike(String value) {
            addCriterion("bank_img_url not like", value, "bankImgUrl");
            return (Criteria) this;
        }

        public Criteria andBankImgUrlIn(List<String> values) {
            addCriterion("bank_img_url in", values, "bankImgUrl");
            return (Criteria) this;
        }

        public Criteria andBankImgUrlNotIn(List<String> values) {
            addCriterion("bank_img_url not in", values, "bankImgUrl");
            return (Criteria) this;
        }

        public Criteria andBankImgUrlBetween(String value1, String value2) {
            addCriterion("bank_img_url between", value1, value2, "bankImgUrl");
            return (Criteria) this;
        }

        public Criteria andBankImgUrlNotBetween(String value1, String value2) {
            addCriterion("bank_img_url not between", value1, value2, "bankImgUrl");
            return (Criteria) this;
        }

        public Criteria andBankStatusIsNull() {
            addCriterion("bank_status is null");
            return (Criteria) this;
        }

        public Criteria andBankStatusIsNotNull() {
            addCriterion("bank_status is not null");
            return (Criteria) this;
        }

        public Criteria andBankStatusEqualTo(String value) {
            addCriterion("bank_status =", value, "bankStatus");
            return (Criteria) this;
        }

        public Criteria andBankStatusNotEqualTo(String value) {
            addCriterion("bank_status <>", value, "bankStatus");
            return (Criteria) this;
        }

        public Criteria andBankStatusGreaterThan(String value) {
            addCriterion("bank_status >", value, "bankStatus");
            return (Criteria) this;
        }

        public Criteria andBankStatusGreaterThanOrEqualTo(String value) {
            addCriterion("bank_status >=", value, "bankStatus");
            return (Criteria) this;
        }

        public Criteria andBankStatusLessThan(String value) {
            addCriterion("bank_status <", value, "bankStatus");
            return (Criteria) this;
        }

        public Criteria andBankStatusLessThanOrEqualTo(String value) {
            addCriterion("bank_status <=", value, "bankStatus");
            return (Criteria) this;
        }

        public Criteria andBankStatusLike(String value) {
            addCriterion("bank_status like", value, "bankStatus");
            return (Criteria) this;
        }

        public Criteria andBankStatusNotLike(String value) {
            addCriterion("bank_status not like", value, "bankStatus");
            return (Criteria) this;
        }

        public Criteria andBankStatusIn(List<String> values) {
            addCriterion("bank_status in", values, "bankStatus");
            return (Criteria) this;
        }

        public Criteria andBankStatusNotIn(List<String> values) {
            addCriterion("bank_status not in", values, "bankStatus");
            return (Criteria) this;
        }

        public Criteria andBankStatusBetween(String value1, String value2) {
            addCriterion("bank_status between", value1, value2, "bankStatus");
            return (Criteria) this;
        }

        public Criteria andBankStatusNotBetween(String value1, String value2) {
            addCriterion("bank_status not between", value1, value2, "bankStatus");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}